package com.ro0tsh3ll.service.impl;

import com.ro0tsh3ll.dao.UserDAO;
import com.ro0tsh3ll.model.User;
import com.ro0tsh3ll.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Administrator on 2014/6/6.
 */

@Service
public class UserServiceImpl implements UserService{

    @Autowired(required = false)
    private UserDAO userDAO;

    @Override
    public int insertUser(User user) {
        return userDAO.insertUser(user);
    }

}
